package com.hotel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @author shkstart
 * @create 2021-06-26 16:20
 */
@Data
@Component
public class RoomType {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String photo;
    private float price;
    private Integer liveNum;
    private Integer bedNum;
    private Integer roomNum;
    private Integer avilableNum;
    private Integer bookNum;
    private Integer livedNum;
    private Integer status;
    private String remark;

    public RoomType() {
    }

    public RoomType(Integer id, String name, String photo, float price, Integer liveNum, Integer bedNum, Integer roomNum, Integer avilableNum, Integer bookNum, Integer livedNum, Integer status, String remark) {
        this.id = id;
        this.name = name;
        this.photo = photo;
        this.price = price;
        this.liveNum = liveNum;
        this.bedNum = bedNum;
        this.roomNum = roomNum;
        this.avilableNum = avilableNum;
        this.bookNum = bookNum;
        this.livedNum = livedNum;
        this.status = status;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public Integer getLiveNum() {
        return liveNum;
    }

    public void setLiveNum(Integer liveNum) {
        this.liveNum = liveNum;
    }

    public Integer getBedNum() {
        return bedNum;
    }

    public void setBedNum(Integer bedNum) {
        this.bedNum = bedNum;
    }

    public Integer getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(Integer roomNum) {
        this.roomNum = roomNum;
    }

    public Integer getAvilableNum() {
        return avilableNum;
    }

    public void setAvilableNum(Integer avilableNum) {
        this.avilableNum = avilableNum;
    }

    public Integer getBookNum() {
        return bookNum;
    }

    public void setBookNum(Integer bookNum) {
        this.bookNum = bookNum;
    }

    public Integer getLivedNum() {
        return livedNum;
    }

    public void setLivedNum(Integer livedNum) {
        this.livedNum = livedNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "RoomType{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", photo='" + photo + '\'' +
                ", price=" + price +
                ", liveNum=" + liveNum +
                ", bedNum=" + bedNum +
                ", roomNum=" + roomNum +
                ", avilableNum=" + avilableNum +
                ", bookNum=" + bookNum +
                ", livedNum=" + livedNum +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                '}';
    }
}
